Convert Matrix to Data Frame in R (2 Examples) | Change to data.frame Class | as.data.frame Function